<h2 id="marks">3. Marks</h2>
<div>
    This service returns all marks the specified student has been given so far.<br />
    <b>Request URL</b><br />
    <div class="url"><?php echo $config['path']; ?>getmarks.php?u=XXX&p=YYY&k=ZZZ</div><br />
    
    <b>Request Parameters</b><br />
    <table>
        <tr>
            <th>Key</th>
            <th>Name</th>
            <th>Explanation</th>
        </tr>
        <tr>
            <td>u</td>
            <td>Username</td>
            <td>The username the student uses to access FH services.</td>
        </tr>
        <tr>
            <td>p</td>
            <td>Password</td>
            <td>The password the student uses with his FH username.</td>
        </tr>
        <tr>
            <td>k</td>
            <td>FHPI Key</td>
            <td>The FHPI key of your application. <a href="<?php echo $config['path']; ?>manage/register.php">Get yours here</a>.</td>
        </tr>
    </table><br />
    
    <b>Example Result</b><br />
    <div class="sample">
        <?php
            $string = '<Overview>
<Status>OK</Status>
<Term name="4. Studiengangssemester, SS 2011">
<Course>
<Title>Software Modelling</Title>
<Grade>2</Grade>
<GradeWords>gut</GradeWords>
</Course>
</Term>
</Overview>';
            echo nl2br(htmlentities($string));
        ?>
    </div><br />
    
    <b>Notes</b><br />
    <div>
        The root element of the returned document is "Overview". It can contain multiple "Term" elements which can contain multiple "Course" elements containing all relevant information.
    </div>
    
</div>